package com.itheima.service.impl;

import com.itheima.dao.impl.DaoImpl;
import com.itheima.domain.User;
import com.itheima.service.Service;

public class ServiceImpl implements Service {
    @Override
    public User login(String username, String password) {
        return (new DaoImpl()).login(username, password);
    }
}
